<template>
  <div class="mask" v-show="isShow">
    <van-loading size="40px" type="spinner" vertical/>
  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
.mask{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba($color: #000000, $alpha: 0.0);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
